<?php

class Controller_Static extends Controller_Template {
    public $template;

    public function action_topmenu(){
        $module=Model::factory('module');
        $modules=$module->getModules();
        $this->template = View::factory('main/top_menu');
        
        $this->template->modules=$modules;

        $user_data = Auth::instance()->get_user()->as_array();
        $this->template->user_data = $user_data;

      
    }
    
    
}
